package com.own.business.comment.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.comment.common.em.CommentExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * CommentException
 *
 * @author chenxueli
 * @date 2023-07-03 14:39:08
 */
public class CommentException extends BusinessException {

    public CommentException() {
        super(CommentExceptionEnum.DEFAULT);
    }

    public CommentException(String message) {
        super(CommentExceptionEnum.DEFAULT.code(), message);
    }

    public CommentException(String code, String message) {
        super(code, message);
    }

    public CommentException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public CommentException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
